package com.hd.entity.sqlexcel;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  sql导出excel表字段 实体类
 * @author <a href="mailto:hzhh123@sina.cn">hzhh123</a>
 * @date 2018-07-20 01:33
 *
 * @version 1.0
 *
 */
@Entity
@Table(name = "sql_excel_field")
public class SqlExcelField implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	* 状态
	*/
	@Column(name="status")
	private Integer status;
	/**
	* 表名
	*/
	@Column(name="table_name")
	private String tableName;
	/**
	* 顺序
	*/
	@Column(name="seq")
	private Integer seq;
	/**
	* id
	*/
	@Id
	@Column(name="id")
	private String id;
	/**
	* 列名
	*/
	@Column(name="column_name")
	private String columnName;
	/**
	* 字段名
	*/
	@Column(name="key_name")
	private String keyName;
	/**
	 * 字段类型
	 */
	@Column(name = "column_type")
	private String columnType;
	/**
	* 外键
	*/
	@Column(name="f_id")
	private String fid;


	public Integer getStatus(){
		return status;
	}
	public void setStatus(Integer status){
		this.status=status;
	}
	public String getTableName(){
		return tableName;
	}
	public void setTableName(String tableName){
		this.tableName=tableName;
	}
	public Integer getSeq(){
		return seq;
	}
	public void setSeq(Integer seq){
		this.seq=seq;
	}
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id=id;
	}
	public String getColumnName(){
		return columnName;
	}
	public void setColumnName(String columnName){
		this.columnName=columnName;
	}
	public String getKeyName(){
		return keyName;
	}
	public void setKeyName(String keyName){
		this.keyName=keyName;
	}
	public String getFid() {
		return fid;
	}
	public void setFid(String fid) {
		this.fid = fid;
	}

	public String getColumnType() {
		return columnType;
	}

	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}
}
